<?php

namespace Core\Data\SQL;

interface Adapter {

    function __construct ( $strURL, $boolPersistent = null ); // NOTE: Persistent might not be an option for every adapter, hence it should not be present here.

    public function escape ( $str );

    public function exec ( $mixQuery );

    public function fetch ( $strQuery );

    public function getInsertKey ();

    public function getNumQueriesSent ();

    public function query ( $strQuery );

}
?>
